package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbCourse)实体类
 *
 */
@ApiModel(description = "(TbCourse)课程实体类")
@Data
public class TbCourse implements Serializable {
    @ApiModelProperty("")
    private static final long serialVersionUID = 870582771284033259L;
    @ApiModelProperty("课程id")
    private Long id;
    @ApiModelProperty("课程编号")
    private String code;
    @ApiModelProperty("课程名称")
    private String name;
    @ApiModelProperty("学科")
    private String subject;
    @ApiModelProperty("价格")
    private Integer price;
    @ApiModelProperty("适应人群")
    private String applicablePerson;
    /**
     * 课程描述信息
     */
    @ApiModelProperty("课程描述信息")
    private String info;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("是否删除")
    @TableLogic(value = "0",delval = "1")
    private Integer isDelete;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getApplicablePerson() {
        return applicablePerson;
    }

    public void setApplicablePerson(String applicablePerson) {
        this.applicablePerson = applicablePerson;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

}

